/*
 * Copyright 2007 Xplayat, S.L. All rights reserved.
 * Propiedad de Xplayat. 
 */
package es.xpt.ysf.logging;

public class Log implements org.apache.commons.logging.Log { 
    private org.apache.commons.logging.Log log = null;
    
    protected Log(org.apache.commons.logging.Log l) {
        log = l;
    }
    
    public void debug(java.lang.Object p1) { 
        log.debug(p1);
    }

    public void debug(java.lang.Object p1, java.lang.Throwable p2) { 
        log.debug(p1, p2);
    }

    public void error(java.lang.Object p1) { 
        log.error(p1);    
    }

    public void error(java.lang.Object p1, java.lang.Throwable p2) { 
        log.error(p1, p2);
    }

    public void fatal(java.lang.Object p1) { 
        log.fatal(p1);    
    }

    public void fatal(java.lang.Object p1, java.lang.Throwable p2) { 
        log.fatal(p1, p2);
    }

    public void info(java.lang.Object p1) { 
        log.info(p1);    
    }

    public void info(java.lang.Object p1, java.lang.Throwable p2) { 
        log.info(p1, p2);
    }

    public boolean isDebugEnabled() { 
        return log.isDebugEnabled();
    }

    public boolean isErrorEnabled() { 
        return log.isErrorEnabled();
    }

    public boolean isFatalEnabled() { 
        return log.isFatalEnabled();
    }

    public boolean isInfoEnabled() { 
        return log.isInfoEnabled();
    }

    public boolean isTraceEnabled() { 
        return log.isTraceEnabled();
    }

    public boolean isWarnEnabled() { 
        return log.isWarnEnabled();
    }

    public void trace(java.lang.Object p1) {
        log.trace(p1);    
    }

    public void trace(java.lang.Object p1, java.lang.Throwable p2) { 
        log.trace(p1, p2);
    }

    public void warn(java.lang.Object p1) { 
        log.warn(p1);    
    }
            
    public void warn(java.lang.Object p1, java.lang.Throwable p2) { 
        log.warn(p1, p2);
    }
}
